package com.ruoyi.demo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 测试用户对象 demo_user
 * 
 * @author ruoyi
 * @date 2023-10-13
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("demo_user")
public class DemoUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;


    /** 用户名 */
    @Excel(name = "用户名")
    private String username;


    /** 生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;


    /** 性别 */
    @Excel(name = "性别")
    private String sex;


    /** 地址 */
    @Excel(name = "地址")
    private String address;



}
